package com.tanhua.dubbo.api;

import cn.hutool.setting.Setting;
import com.tanhua.model.domain.Settings;
import com.tanhua.model.vo.PageResult;

/**
 * @author LiKe
 * @date 2022/1/22 10:28
 */
public interface SettingsApi {
    //根据用户id查询设置
    Settings findByUserId(Long userId);

    void save(Settings settings);

    void update(Settings settings);

    PageResult blackLimit(Long userId,int page,int size);
}
